import request from '@/utils/request'
// import { get } from 'js-cookie'
// 导过来开发环境基地址requset
export function reqLogin(data) {
  return request({
    method: 'post',
    url: '/sys/login',
    data
  })
}
// 获取用户基本资料
export function reqGetProfile(token) {
  return request({
    method: 'post',
    url: '/sys/profile'
  })
}

// 获取用户基本信息
export function reqGetBaseInfo(id) {
  return request({
    method: 'get',
    url: `/sys/user/${id}`
  })
}
